﻿@model Everynet.Models.LogOnModel
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@{
    ViewBag.Title = "Log On";
}

   <span style="text-align:center;">@Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")</span>

@using (Html.BeginForm())
{
    <div class="log-on-page">
    <h2>Content Admin Log On</h2>
     <fieldset><legend>
    <div class="log-on-box">
    <label for="UserName">  @Html.LabelFor(m => m.UserName)</label>
      @Html.TextBoxFor(m => m.UserName) <br />
                @Html.ValidationMessageFor(m => m.UserName)
    </div>
    <div class="log-on-box">
    <label for="UserName"> @Html.LabelFor(m => m.Password)</label>
       @Html.PasswordFor(m => m.Password)<br />
                @Html.ValidationMessageFor(m => m.Password)
    </div>
    <div class="rememberme">
     @Html.CheckBoxFor(m => m.RememberMe)
                @Html.LabelFor(m => m.RememberMe)
    </div>
    <p>
  <input type="submit" value="Log On" class="login-btn" />
</p>
    </legend>
    </fieldset>
    </div>
   }

   <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>


